package com.barneyx.mshinfoplatform;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableCaching
@SpringBootApplication
@EnableTransactionManagement
@MapperScan(value = {"com.gitee.sunchenbin.mybatis.actable.dao.*", "com.barneyx.mshinfoplatform.mapper.*"})
@ComponentScan(basePackages = {"com.barneyx.mshinfoplatform.*", "com.gitee.sunchenbin.mybatis.actable.manager.*"})
public class MshInfoPlatformApplication {

    public static void main(String[] args) {
        SpringApplication.run(MshInfoPlatformApplication.class, args);
    }

}
